#ifndef UPPERLIMBWIDGET_H
#define UPPERLIMBWIDGET_H

#include <qwidget.h>

class UpperLimbWidget : public QWidget
{
    Q_OBJECT
public:
    explicit UpperLimbWidget(int nParentID,QWidget *parent = nullptr);
    virtual ~UpperLimbWidget();
private:
    void createBtns();
    void showSubCmdWidget(int nCurID);
    // QObject interface
protected:
    bool eventFilter(QObject *watched, QEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
protected:
    int  m_nParentID;
    UpperLimbWidget * m_pSubCmdWidget;
};

#endif // UPPERLIMBWIDGET_H
